package com.hmall.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hmall.order.pojo.Order;
import com.hmall.order.pojo.RequestParams;

public interface IOrderService extends IService<Order> {

    /**
     * 创建订单
     * @param requestParams
     * @return
     */
    Order createOrder(RequestParams requestParams);

    /**
     * 处理过期订单业务
     * @param orderId
     */
    void dealExpireOrder(long orderId);
}
